package com.ipay.dao;

import org.apache.ibatis.annotations.Param;

import com.ipay.entity.SysSequence;

public interface SysSequenceDao extends BaseDao<SysSequence> {
	
	public SysSequence getCurrentSequence(@Param("type") String type, @Param("name") String name);
	//
	public int next(@Param("type") String type, @Param("name") String name, @Param("curval") long currentVal, @Param("newSeq") long newVal);
	
}
